<div class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
        <div class="nav-header">
            <a type="button" href="#" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>
            <a class="navbar-brand" href="#"><?php echo'' ?></a>
        </div>
        <div class="collapse navbar-collapse">
            <ul class="nav navbar-nav">
                <?php
                echo '<li>';
                echo anchor("principal/index", 'Principal');
                echo '</li>';
                echo '<li>';
                echo anchor("medico_controller/buscar", 'Medico');
                echo '</li>';
                echo '<li>';
                echo anchor("especialidad_controller/buscar", 'Especialidad');
                echo '</li>';
                echo '<li>';
                echo anchor("horario_controller/buscar", 'Horario');
                echo '</li>';
                 echo '<li>';
                echo anchor("cita_medica_controller/buscar_citas", 'Citas');
                echo '</li>';
                 echo '<li>';
                echo anchor("facturacion_controller/buscar", 'Facturas');
                echo '</li>';
                ?>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <?php
                echo '<li>';
                echo anchor("/login/index", 'Salir');
                echo '</li>';
                ?>
            </ul>
        </div>
    </div>
</div>

<div class="container">
    <div class="row">
        <div id="left" class="col-lg-2">

        </div>
        <div id="starter-template" class="col-lg-8">
            <?php $this->load->view($main); ?>
        </div>
        <div id="right" class="col-lg-2"></div>
    </div>
</div>

<script src="<?= base_url('assets/bootstrap/js/jquery.js') ?>"></script>
<script src="<?= base_url('assets/bootstrap/js/bootstrap.min.js') ?>"></script>
<script src="<?= base_url('assets/bootstrap/js/bootstrap-datetimepicker.js') ?>"></script>
<script  src="<?= base_url('assets/bootstrap/js/locales/bootstrap-datetimepicker.es.js') ?>"></script>
<link type="text/css" href="<?= base_url('assets/css/jquery-ui-1.8.17.custom.css') ?>" rel="stylesheet"/>
<link type="text/css" href="<?= base_url('assets/css/picklist.css') ?>" rel="stylesheet"/>
<script type="text/javascript" src="<?= base_url('assets/js/jquery-1.7.1.min.js') ?>"></script>
<script type="text/javascript" src="<?= base_url('assets/js/jquery.ui.core.js') ?>"></script>
<script type="text/javascript" src="<?= base_url('assets/js/jquery.ui.widget.js') ?>"></script>
<script type="text/javascript" src="<?= base_url('assets/js/jquery.ui.mouse.js') ?>"></script>
<script type="text/javascript" src="<?= base_url('assets/js/jquery.ui.button.js') ?>"></script>
<script type="text/javascript" src="<?= base_url('assets/js/jquery.ui.selectable.js') ?>"></script>
<script type="text/javascript" src="<?= base_url('assets/js/jquery.ui.sortable.js') ?>"></script>
<script type="text/javascript" src="<?= base_url('assets/js/picklist.js') ?>"></script>
</body>
</html>